In mathematics, the Lucas sequences Un(P,Q) and Vn(P,Q) are certain integer sequences that satisfy the recurrence relation
where P and Q are fixed integers. Any other sequence satisfying this recurrence relation can be represented as a linear combination of the Lucas sequences Un(P,Q) and Vn(P,Q).
More generally, Lucas sequences Un(P,Q) and Vn(P,Q) represent sequences of polynomials in P and Q with integer coefficients.
Famous examples of Lucas sequences include the Fibonacci numbers, a superset of the Fermat numbers, Mersenne numbers, Pell numbers, Lucas numbers and Jacobsthal numbers. Lucas sequences are named after the French mathematician Édouard Lucas.
Contents |
Given two integer parameters P and Q, the Lucas sequences of the first kind Un(P,Q) and of the second kind Vn(P,Q) are defined by the recurrence relations:
and
It is not hard to show that for ,
Initial terms of Lucas sequences Un(P,Q) and Vn(P,Q) are given in the table:
The characteristic equation of the recurrence relation for Lucas sequences and is:
It has the discriminant and the roots:
Thus:
Note that the sequence and the sequence also satisfy the recurrence relation. However these might not be integer sequences.
When , a and b are distinct and one quickly verifies that
It follows that the terms of Lucas sequences can be expressed in terms of a and b as follows
The case occurs exactly when for some integer S so that . In this case one easily finds that
The terms of Lucas sequences satisfy relations that are generalizations of those between Fibonacci numbers and Lucas numbers . For example:
General | P = 1, Q = -1 |
---|---|
Among the consequences is that is a multiple of , implying that can be prime only when n is prime. Another consequence is an analog of exponentiation by squaring that allows fast computation of for large values of n. These facts are used in the Lucas–Lehmer primality test.
Carmichael's theorem states that, in a Lucas sequence, all but finitely many of the numbers have a prime factor that does not divide any earlier number in the sequence (Yubuta 2001).
The Lucas sequences for some values of P and Q have specific names: